home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / APW Interfaces / AInclude / E16.IntMath < prev    next >
Encoding:
Text File  |  1991-07-01  |  1.2 KB  |  36 lines  |  [TEXT/MPS ]

  1. ; File:  E16.IntMath
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. imBadInptParam GEQU $0B01 ; bad input parameter
  9. imIllegalChar GEQU $0B02 ; Illegal character in string
  10. imOverflow GEQU $0B03 ; integer or long integer overflow
  11. imStrOverflow GEQU $0B04 ; string overflow
  12. minLongint GEQU $80000000 ; minimum negative signed long integer
  13. minFrac GEQU $80000000 ; pinned value for negative Frac overflow
  14. minFixed GEQU $80000000 ; pinned value for negative Fixed overflow
  15. minInt GEQU $8000 ; Minimum negative signed integer
  16. maxInt GEQU $7FFF ; Maximum positive signed integer
  17. maxUInt GEQU $FFFF ; Maximum positive unsigned integer
  18. maxLongint GEQU $7FFFFFFF ; maximum positive signed Longint
  19. maxFrac GEQU $7FFFFFFF ; pinned value for positive Frac overflow
  20. maxFixed GEQU $7FFFFFFF ; pinned value for positive Fixed overflow
  21. maxULong GEQU $FFFFFFFF ; maximum unsigned Long
  22. ; offset constants for IntDivRec
  23. oidquotient GEQU 0
  24. oidremainder GEQU 2
  25.  
  26.  
  27. ; offset constants for LongDivRec
  28. oldquotient GEQU 0
  29. oldremainder GEQU 4
  30. ; offset constants for LongMulRec
  31. olsResult GEQU 0
  32. omsResult GEQU 4
  33. ; offset constants for WordDivRec
  34. owdquotient GEQU 0
  35. owdremainder GEQU 2
  36.